package org.jeecg.modules.plantation.service.impl;

import org.jeecg.modules.plantation.entity.AgriculturalPoint;
import org.jeecg.modules.plantation.mapper.AgriculturalPointMapper;
import org.jeecg.modules.plantation.service.IAgriculturalPointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 农资点信息
 * @Author: jeecg-boot
 * @Date:   2019-08-26
 * @Version: V1.0
 */
@Service
public class AgriculturalPointServiceImpl extends ServiceImpl<AgriculturalPointMapper, AgriculturalPoint> implements IAgriculturalPointService {
    @Autowired
    private AgriculturalPointMapper agriculturalPointMapper;
    /**
     * 农资点信息统计
     * @param ruralTown
     * @return
     */
    public Integer countAgriculturalPoint(String ruralTown){
        return agriculturalPointMapper.countAgriculturalPoint(ruralTown);
    }
}
